﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class PlanVueloProveedor : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        DropDownCiudad.Attributes.Add("style", "display:none");

        DataTable myTabla = new DataTable();
        myTabla.Columns.Add(new DataColumn("CodigoCiudadOrigen", typeof(System.Int32)));
        myTabla.Columns.Add(new DataColumn("FechaOrigen", typeof(System.DateTime)));
        myTabla.Columns.Add(new DataColumn("CodigoCiudadDestino", typeof(System.Int32)));
        myTabla.Columns.Add(new DataColumn("FechaDestino", typeof(System.DateTime)));
        myTabla.Columns.Add(new DataColumn("Aerolinea", typeof(System.String)));
        myTabla.Columns.Add(new DataColumn("Vuelo", typeof(System.String)));
        myTabla.Columns.Add(new DataColumn("Escala", typeof(System.String)));

        myTabla.Rows.Add(new object[7] { -1, null, -1, null, "", "","" });
        myTabla.Rows.Add(new object[7] { -1, null, -1, null, "", "", "" });
        RadGrid1.DataSource = myTabla;
        ViewState["myTabla"] = myTabla;
        RadGrid1.DataBind();
        
        DataTable mytabla2 = new DataTable();
        mytabla2 = myTabla;
        RadGrid2.DataSource = mytabla2;
        RadGrid2.DataBind();
       
        DataTable mytabla3 = new DataTable();
        mytabla3 = myTabla;
        RadGrid3.DataSource = mytabla3;
        RadGrid3.DataBind();
     
   
    }
    protected void Button3_Click(object sender, EventArgs e)
    {

    }
}
